import React from 'react'

class WechatUserSettingTools extends React.Component {

  constructor(props) {
    super(props)
  }

  onSearchClick(event) {
    var name = $(event.target).val();
    this.props.onDataSearch(name);
  }

  render() {
    return (
      <div className="demo-setting-tools row">

        <div className="col-xs-3 col-sm-3 col-sm-offset-9 col-xs-offset-9">
          <div className="input-group search-group">
            <i className="ti-search"></i>
            <input type="text" className="form-control" placeholder="请搜索户号"
                    onChange={(event)=>this.onSearchClick(event)}/>

          </div>
        </div>
      </div>
    )
  }

}

export default WechatUserSettingTools
